import 'element-plus/theme-chalk/el-loading.css';
import 'element-plus/theme-chalk/el-message.css';

import App from './App.vue';
import router from './router';

import './assets/main.css';

import '@/websocket/socket-io';
import lazyImg from "@/directives/lazyImg";
import ScrollDirective from '@/directives/scroll'



const app = createApp(App);

app.use(createPinia());
app.use(router);

app.use(ScrollDirective);
app.directive('lazy', lazyImg);

app.mount('#app');
